﻿//======================================================================
//
//        Copyright (C) 2007-2008 三月软件工作室    
//        All rights reserved
//
//        filename :CommonReference
//        description :
//
//        created by 侯垒 at  2009-11-13 11:38:24
//        http://houleixx.cnblogs.com
//
//======================================================================
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Entity.Core
{
    /// <summary>
    /// 引用的命名空间
    /// </summary>
    public class CommonReference
    {
        /// <summary>
        /// 所引用的命名空间
        /// </summary>
        public static string Reference
        {
            get
            {
                CodeVersion codeVersion=new CodeVersion();
                StringBuilder builder = new StringBuilder();
                builder.AppendLine("using System;");
                builder.AppendLine("using System.Collections.Generic;");
                if (!codeVersion.IsVersion2)
                {
                    builder.AppendLine("using System.Linq;");
                }
                builder.AppendLine("using System.Text;");
                return builder.ToString();
            }
        }
    }
}